package main.java.com.example;

import java.time.LocalDateTime;

public class RegularCustomer extends Customer {

    @Override
    public void addBill(LocalDateTime date, double amount) {
        super.addBill(date, amount);
    }

    @Override
    protected void createBill(LocalDateTime dateTime) {
        double chargeAmount = chargeFor(lastBillDate, dateTime);
        addBill(dateTime, chargeAmount);

    }

    @Override
    protected double chargeFor(LocalDateTime lastBillDate, LocalDateTime dateTime) {
        return 100;
    }


}
